#define _CRT_SECURE_NO_WARNINGS
#include"priority_queue.h"
void test1()
{
	int arr[7] = { 3,4,8,7,5,6,4 };
	my_priority_queue::priority_queue<int,std::deque<int>, my_priority_queue::greater<int>> pq(arr, arr + 7);

	for (auto e : arr)
	{
		std::cout << e<<" ";
	}
	std::cout << std::endl;
	pq.print();

	std::cout << std::endl;

	pq.push(16);
	pq.push(12);
	pq.push(14);
	pq.print();
	std::cout << std::endl;
	pq.pop();
	pq.print();
}


int main()
{
	/*int arr[7] = { 3,4,8,7,5,6,4 };
	my_priority_queue::priority_queue<int> pq(arr,arr+7);*/
	test1();
	//for (auto e : arr)
	//{
	//	std::cout << e ;
	//}
	//std::cout << std::endl;
	//pq.print();
	//std::cout << std::endl;
	return 0;
}

